{% comment %}
	Important that the form id is specified the way it is. The client code uses this id to
	grab the form values when setting props.
{% endcomment %}

<form id="{{wid}}-props-form">
	<div class="item">
		<div class="label">Title</div>
		<input id='{{wid}}-title' name='title' size="30"/>
	</div>
	<div class="item">
		<div class="label">Text</div>
		<textarea id='{{wid}}-props-text' name='text' rows='5' cols='20'></textarea>
	</div>
{% include "action.html" %}
</form>




<script>

$("#{{wid}}-props-text").keypress(function(event) 
    {
	   if (event.which == '13') 
	   {
	     event.preventDefault();
	     
	   }
	});

</script>

